<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>艾宝国际--科技动力</title>
<link href="images/login/login.css" rel="stylesheet" type="text/css" charset="iso-8859-1">
<script type="text/javascript">
<!--
function getCookie(name) {
    var reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)", "gi");
    var tmp = reg.exec(document.cookie);
    return unescape((tmp || [])[2] || "");
}
window.onload=function(){
   var cookie=getCookie("uid");
   if(cookie!=null&&cookie!=""){
       document.getElementsByName("password")[0].focus();
   }else{
       document.getElementsByName("uid")[0].focus();
   }
}
function setCookie(name, value) {
    document.cookie = name + '=' + escape(value)
            + ";expires=" + (new Date(2099, 12, 31)).toGMTString();
}

function restoreCookies() {
    document.getElementsByName("uid")[0].value = getCookie("uid");
}

function loginSubmit(form, event) {
    if (document.getElementById("saveUsername").checked) {
        setCookie("uid", document.getElementsByName("uid")[0].value);
    }

    if ((document.getElementById("face_classic_cgi") || {}).selected) {
        if (document.all) { // is IE
            event.returnValue = false;
        }
        document.getElementById("classic_cgi_form").elements["user"].value = form.elements["uid"].value;
        document.getElementById("classic_cgi_form").elements["pass"].value = form.elements["password"].value;
        document.getElementById("classic_cgi_form").submit();
        return false;
    }
    return true;
}
function bookmarkMe() {
    if (document.all) { // is IE
        window.external.AddFavorite(location.href, document.title);
    } else {
        alert("请按 Ctrl-D 收藏本页")
    }
}

function recoverPwd(anchorElement) {
    anchorElement.href += '?uid='+ document.getElementById("uid").value;
}
//--></script>
</head><body>
  <div class="Head">
    <div class="fLeft">
      <img src="images/login/title.png" alt="工作的科技提供者">
    </div>
    <div class="fRight HeadLinks">
      <a class="HeLink" href="javascript:bookmarkMe()">收藏本页</a>
        |
      <a target="_blank" href="#">帮助</a>
    </div>
  </div>
  <div>
    <div class="MainLeft">
      <div class="logo">
        <img src="images/login/logo.png" alt="艾宝科技--工作的科技提供者">
      </div>
        <div class="slogan1">
              <div>高效稳定</div>
              <div>安全可靠</div>
        </div>
        <div class="slogan2">
              <div>高效的动态执行引擎</div>
              <div>先进的缓存策略技术</div>
        </div>
    </div>
    <div class="MainRight">
      <form id="loginForm" method="post" action="main.html" onsubmit="return loginSubmit(this, event);">
		<input name="webprefix" value="@login" type="hidden">
        <table class="loginTable">
          <caption class="title">
            登录
            <span class="titleNote error"></span>
          </caption>
          <tfoot>
            <tr>
              <td></td>
              <td>
                <button name="action:login" type="submit" class="Button">
                  登　录
                </button>
              </td>
            </tr>
            <tr>
              <td></td>
              <td>
                
                <a href="forgetpwd.html" onclick="recoverPwd(this);">
                  我忘记登录密码了 &gt;&gt;
                </a>
              </td>
            </tr>
          </tfoot>
          <tbody><tr>
            <th>用 户 名:</th>
            <td><input id="uid" name="uid" class="input" value="" type="text"></td>
            <td class="error"></td>
          </tr>
          <tr>
            <th>密　　码:</th>
            <td><input name="password" class="input" autocomplete="off" value="" type="password"></td>
            <td class="error"></td>
          </tr>
          
          <tr>
            <th>界面风格:</th>
            <td>
              
              <select name="face" class="inputWidth">
                <option value="">自动选择</option>
                <!-- 
                    <option value="H">
                      HTML 风格
                    </option>
                 -->
                    <option value="A">
                      AJAX 风格
                    </option>
              </select>
            </td>
          </tr>
          <tr>
            <th>
              <input id="saveUsername" checked="checked" type="checkbox">
            </th>
            <td>
              <label for="saveUsername">
                在此电脑上记住用户名
              </label>
            </td>
          </tr>
        </tbody></table>
      </form>
    </div>
  </div>

  <div class="copyright">
    Ivbao Thec. &#169; Copyright 2008 - 2010 Yuk.
  </div>

  <script type="text/javascript"><!--
  restoreCookies();
  //--></script>

  
  <form action="/coremail/fcg/login" id="classic_cgi_form" method="post">
    <input name="user" type="hidden">
    <input name="pass" type="hidden">
  </form>

</body></html>